<?php /* Smarty version 2.6.25, created on 2014-01-03 01:29:07
         compiled from stickers/admin_menu/admin_menu.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'l', 'stickers/admin_menu/admin_menu.tpl', 10, false),array('block', 'p', 'stickers/admin_menu/admin_menu.tpl', 18, false),)), $this); ?>

<ul id="main-nav" class="nav nav-pills nav-stacked">  
    <li>
        <a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
" class="nav-top-item no-submenu <?php if ($this->_tpl_vars['menu'][0] == 'controlpanel'): ?>current<?php endif; ?>">
            Control Panel
        </a>       
    </li>
    <?php if (2 == $this->_tpl_vars['LOGGED_GROUP_ID']): ?>
    <li> 
            <a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
user/admin/edit-user/id/<?php echo $this->_tpl_vars['loggedUser']['user_id']; ?>
" class="nav-top-item no-submenu <?php if ($this->_tpl_vars['menu'][0] == 'usergroup'): ?>current<?php endif; ?>"><?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>My Account<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></a>
    </li>
    <?php else: ?>
    <li> 
        <a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'usergroup'): ?>current<?php endif; ?>">
        Users & Groups
        </a>
        <ul>
            <?php $this->_tag_stack[] = array('p', array('name' => 'new_user','module' => 'user')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
user/admin/new-user" class="<?php if ($this->_tpl_vars['menu'][1] == 'newuser'): ?>current<?php endif; ?>"><?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>New User<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></a></li><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
            <?php $this->_tag_stack[] = array('p', array('name' => 'see_user','module' => 'user')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
user/admin/manage-user" class="<?php if ($this->_tpl_vars['menu'][1] == 'manageuser'): ?>current<?php endif; ?>"><?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Manage Users<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?> </a></li><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
            <?php $this->_tag_stack[] = array('p', array('name' => 'see_group','module' => 'user')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
user/admin/manage-group" class="<?php if ($this->_tpl_vars['menu'][1] == 'managegroup'): ?>current<?php endif; ?>"><?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?> Manage Groups<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></a></li><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
            
            <?php $this->_tag_stack[] = array('p', array('name' => 'see_permission','module' => 'permission')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
permission/admin/manager" class="<?php if ($this->_tpl_vars['menu'][1] == 'managepermission'): ?>current<?php endif; ?>"><?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Manage Permissions<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></a></li><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
     
        </ul>
    </li>
    <?php endif; ?>
   
	
    <?php $this->_tag_stack[] = array('p', array('name' => 'see_category','module' => 'content','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
	<li><a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'subject'): ?>current<?php endif; ?>"> 
		Subject</a>
		<ul>
			<?php $this->_tag_stack[] = array('p', array('name' => 'new_category','module' => 'content','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
			<li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
content/admin/new-category"
				class="<?php if ($this->_tpl_vars['menu'][1] == 'newcontentcategory'): ?>current<?php endif; ?>">New Subject</a></li>
			<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
			 <?php $this->_tag_stack[] = array('p', array('name' => 'see_category','module' => 'content','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
			<li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
content/admin/manage-category"
				class="<?php if ($this->_tpl_vars['menu'][1] == 'managecontentcategory'): ?>current<?php endif; ?>"> Manage Subject</a></li>
			<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
		</ul>
	</li>
	<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
     
     <?php $this->_tag_stack[] = array('p', array('name' => 'see_content','module' => 'content','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
	<li><a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'content'): ?>current<?php endif; ?>"> 
		<?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Content<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?> </a>
		<ul>
			<?php $this->_tag_stack[] = array('p', array('name' => 'new_content','module' => 'content','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
			<li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
content/admin/new-content"
				class="<?php if ($this->_tpl_vars['menu'][1] == 'newcontent'): ?>current<?php endif; ?>"><?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>New Content<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></a></li>
			<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
			 <?php $this->_tag_stack[] = array('p', array('name' => 'see_content','module' => 'content','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
			<li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
content/admin/manage-content"
				class="<?php if ($this->_tpl_vars['menu'][1] == 'managecontent'): ?>current<?php endif; ?>"> <?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Manage Content<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></a></li>
			<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
		</ul>
	</li>
	<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
    
    <li> 
        <a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'question'): ?>current<?php endif; ?>">
       Question
        </a>
        <ul>
            <?php $this->_tag_stack[] = array('p', array('name' => 'new_question','module' => 'question','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
question/admin/new-question" class="<?php if ($this->_tpl_vars['menu'][1] == 'newquestion'): ?>current<?php endif; ?>">Create multichoice</a></li><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
            <?php $this->_tag_stack[] = array('p', array('name' => 'see_question','module' => 'question','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
question/admin/manage-question" class="<?php if ($this->_tpl_vars['menu'][1] == 'managequestion'): ?>current<?php endif; ?>">Manage multichoice</a></li><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
            
        </ul>
    </li>
    
    <li> 
        <a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'exercise'): ?>current<?php endif; ?>">
       Exercise
        </a>
        <ul>
        <li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
exercise/admin/new-exercise-para" class="<?php if ($this->_tpl_vars['menu'][1] == 'newexercise'): ?>current<?php endif; ?>">New Exercise</a></li>
        <li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
exercise/admin/manage-exercise-para" class="<?php if ($this->_tpl_vars['menu'][1] == 'manageexercise'): ?>current<?php endif; ?>">Manage Exercise</a></li>
          <li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
exercise/admin/new-folder" class="<?php if ($this->_tpl_vars['menu'][1] == 'newdemo'): ?>current<?php endif; ?>">Add Demo</a></li>
           <li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
exercise/admin/manage-folder" class="<?php if ($this->_tpl_vars['menu'][1] == 'managedemo'): ?>current<?php endif; ?>">Manage Demo</a></li>
           
        </ul>
    </li>
    <li> 
        <a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'chapter'): ?>current<?php endif; ?>">
       Chapter
        </a>
        <ul>
        
			<li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
book/admin/new-chapter" class="<?php if ($this->_tpl_vars['menu'][1] == 'newchapter'): ?>current<?php endif; ?>">Create Chapter</a></li>
            <li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
book/admin/manage-chapter" class="<?php if ($this->_tpl_vars['menu'][1] == 'managechapter'): ?>current<?php endif; ?>">Manage Chapter</a></li> 
                         
       
        </ul>
    </li>
    
     <li> 
        <a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'book'): ?>current<?php endif; ?>">
       iBook
        </a>
        <ul>
            <li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
book/admin/new-book" class="<?php if ($this->_tpl_vars['menu'][1] == 'newbook'): ?>current<?php endif; ?>">Create iBook</a></li>
            <li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
book/admin/manage-book" class="<?php if ($this->_tpl_vars['menu'][1] == 'managebook'): ?>current<?php endif; ?>">Manage iBook</a></li>
			          
       
        </ul>
    </li>
    
    
<!--    <li> -->
<!--        <a href="#" class="nav-top-item <?php if ($this->_tpl_vars['menu'][0] == 'others'): ?>current<?php endif; ?>">-->
<!--        Others-->
<!--        </a>-->
<!--        <ul>-->
<!--            <?php $this->_tag_stack[] = array('p', array('name' => 'see_translation','module' => 'language','expandId' => '?')); $_block_repeat=true;Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><li><a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
language/translation/manage" class="<?php if ($this->_tpl_vars['menu'][1] == 'manage-translation'): ?>current<?php endif; ?>">Manage Translations</a></li><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Permission::checkPermisison($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>-->
<!--        </ul>-->
<!--    </li>-->
    
</ul> 